
FROM python:3.6.13   
#FROM 必须 是 Dockerfile 中第一条非注释命令
 
WORKDIR /var/www/html/your/project/   
#指定工作目录
 
COPY requirements.txt ./
RUN pip install -r requirements.txt 
RUN apt-get update && apt-get install -y ffmpeg
#安装依赖
COPY . .
EXPOSE 8081
#CMD ["python","manage.py","runserver","-h","0.0.0.0","-p","8081"，"--processes","3"]
CMD ["gunicorn", "manage:app", "-c", "./gunicorn.conf.py"]

